package com.atguigu.gulimall.product.dao;

import com.atguigu.gulimall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 *
 * @author jianPing
 * @email 754844887@qq.com
 * @date 2022-01-14 15:27:51
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {

    List<Long> filterAttrIdsBySearchType(@Param("attrIds") List<Long> attrIds,
                                         @Param("searchType") Integer searchType);

}
